package com.sunzm.dynamic_rule.pojo;

import java.io.Serializable;

public class ResultBean implements Serializable {
    /**
     * 匹配上的规则Id
     */
    private String ruleId;
    /**
     * 设备Id
     */
    private String deviceId;
    /**
     * 触发规则的那条数据的时间戳
     */
    private Long timeStamp;

    public ResultBean() {
    }

    public ResultBean(String ruleId, String deviceId, Long timeStamp) {
        this.ruleId = ruleId;
        this.deviceId = deviceId;
        this.timeStamp = timeStamp;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Long timeStamp) {
        this.timeStamp = timeStamp;
    }

    @Override
    public String toString() {
        return "ResultBean{" +
                "ruleId='" + ruleId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", timeStamp='" + timeStamp + '\'' +
                '}';
    }
}
